<?php

$id = empty($_GET['id']) ? 0 : intval($_GET['id']);
if($id > 0){
	$oGroup = new Group();
	$group_info = $oGroup->get_row($_GET['id'], '*');
	$group_info['deadline'] = ftime($group_info['deadline']);
}else{
	$group_info = array(
		
	);	
}
$manager_id_name_list = cache_read('managers.php');
$group_info['json_managers'] = json_encode($manager_id_name_list);
$group_info['manager_options'] = make_options($manager_id_name_list, true);

$vars['info'] = $group_info;
?>